
E:
CD "E:\flexsdk\bin"

@SET process=0
@SET appConfig=F:\svn\iscript\as3UI\bat\appConfig.xml
@SET ProjectPath=F:\svn\iscript\as3UI\src

@SET ProjectBin=F:\svn\iscript\as3UI\bin
@SET ProjectBinGamecomponents=%ProjectBin%\mxmlc
@IF  %process%==1  GOTO Application

CLS

::Loader
::mxmlc.exe -load-config+=%appConfig% -debug=false %ProjectPath%\Application.as                            -output+=%ProjectBin%\Application.swf
mxmlc.exe -load-config+=%appConfig%   -define=GAMELITE::Platform,true -define=CONFIG::port,"'8001'" %ProjectPath%\Application.as            -output+=%ProjectBin%\Application00.swf
::mxmlc.exe -load-config+=%appConfig% -define=CONFIG::PlatformQQ,true -define=CONFIG::port,"'8008'" %ProjectPath%\Application.as            -output+=%ProjectBin%\Application01.swf


REM -define=CONFIG::debug,true -define=CONFIG::release,

:Application
@START %ProjectBin%\Application00.swf
::@START %ProjectBin%\Application01.swf
::@START %ProjectBin%\ApplicationLocal.swf
PAUSE
 